import { defineEventHandler } from "h3";
import { LemonSqueezyService } from "../../../services/lemonSqueezyService";

export default defineEventHandler(async (event) => {
  const plans = await LemonSqueezyService.getSubscriptionPlans();
  return { plans };
});